function dialogOpen(tt, w, h, src, el) {
	var $parent = top.$, s = top.dialogUtil, index = s.getDialogIndex();
	if (el != null) {
		s.addDialogTemp(el, index);
	}
	var divDialog = $parent("<div id='index" + index + "'></div>");
	var iframeDialog = $parent("<iframe class='frame_dialog' width='" + w
			+ "' height='" + h
			+ "' frameborder='0' scrolling='auto' id='dialogin" + index
			+ "' src='" + src + "'></iframe>");
	iframeDialog.bind("load", function(e) {
				var t = top.window.frames.length;
				$parent("div[class='tt']:eq(0)",
						top.window.frames[t - 1].document).remove();
				if ($parent("body", top.window.frames[t - 1].document)
						.is(".bgColor")) {
					$parent("body", top.window.frames[t - 1].document)
							.removeClass().addClass("bgColor_f3f3f3");
					$parent("#searchDiv", top.window.frames[t - 1].document)
							.children(".ctt").removeClass();
				}
				var j = this.contentWindow.$;
				if (j) {
					j(this.contentWindow).unbind("resize");
				}
			});
	$parent("body").append(divDialog);
	divDialog.append(iframeDialog).dialog({
				title : tt,
				height : h,
				width : w,
				resizable : false,
				draggable : false,
				modal : true,
				bgiframe : true,
				autoOpen : false
			});
	/*
	 * divDialog.bind("dialogopen",function(event,ui){
	 * if(top.window.document.documentElement.scrollWidth ==
	 * top.window.screen.width){
	 * $parent(".ui-widget-overlay:last").css("width",top.window.screen.width-17); }
	 * });
	 */
	divDialog.bind("dialogclose", function(event, ui) {
				$parent(this).dialog("destroy");
				$parent("*", this).add([this]).each(function() {
							$parent.event.remove(this);
							$parent.removeData(this);
						});
				this.innerHTML = "";
				$parent(this).remove();
				s.delDialogTemp(index);
			});
	divDialog.dialog("open");
}